package com.quaidi.smartlocker.enums;

/**
 * 用户角色枚举
 * 
 * @author QuaiDi
 * @since 2025-08-26
 */
public enum UserRole {
    USER("USER", "普通用户"),
    ADMIN("ADMIN", "管理员");

    private final String code;
    private final String description;

    UserRole(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}